﻿<UserControl x:Class="YodaSL.ServingPanel"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="66" d:DesignWidth="240" BorderThickness="2" BorderBrush="#FF003200" >
    <Grid>
    <Grid x:Name="ButtonPanel" Visibility="Visible" Background="GoldenRod" >
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="3*" />
            <ColumnDefinition Width="2*" />
            <ColumnDefinition Width="2*"/>
        </Grid.ColumnDefinitions>
            <Button Content="ACE" Margin="2,2,4,4" x:Name="AceButton" Padding="0" Grid.Row="0" Grid.RowSpan="2" VerticalContentAlignment="Center" FontSize="24" Foreground="#FF076F07" FontWeight="Bold" Background="{StaticResource ButtonBackground}" >
            	<Button.Effect>
            		<DropShadowEffect/>
            	</Button.Effect>
                
            </Button>
            <TextBlock  Text="1. serve" Margin="0" x:Name="ServePosition"  Grid.Column="1" Grid.ColumnSpan="2"  FontSize="14" Padding="3,0,3,3" VerticalAlignment="Center" HorizontalAlignment="Center" Foreground="Blue"  />
        <Button Content="good" Margin="0,0,3,3" x:Name="GoodServe" IsTabStop="True" Padding="3,3,3,0" Grid.Column="1" Grid.Row="1" FontSize="12" Background="{StaticResource ButtonBackground}" Foreground="#FF1BC11B" FontWeight="Bold" >
        	<Button.Effect>
        		<DropShadowEffect/>
        	</Button.Effect>
        </Button>
        <Button Content="out/fault"  Margin="0,0,3,3" x:Name="BadServe" Padding="0" Grid.Column="2"  Grid.Row="1" Grid.RowSpan="1" FontSize="12" Foreground="#FFE44646">
        	<Button.Effect>
        		<DropShadowEffect/>
        	</Button.Effect>
        </Button>
          
        </Grid>
        <Grid Visibility="Collapsed">
            <TextBlock FontSize="9">
                Adogatás: 60%; 4 ász; 6 kettős hiba
                <LineBreak/>
                Nyerő ütések: 30
                <LineBreak/>
                Ki nem kényszerített hiba 25
            </TextBlock>
        </Grid>
    </Grid>

</UserControl>
